﻿using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Orm.DataEntity;
using Kingdee.BOS.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMAF.K3Cloud.SCM.Bill.ServicePlugIn
{
    [HotUpdate]
    [Description("关闭订单释放流水号")]
    public class SaleOrderClose : AbstractOperationServicePlugIn
    {
        public override void BeginOperationTransaction(BeginOperationTransactionArgs e)
        {
            foreach (DynamicObject entity in e.DataEntitys)
            {
                if (entity != null)
                {
                    string formId = entity["FFormId"].ToString();       //单据类型
                    DynamicObjectCollection entry = (DynamicObjectCollection)entity["SaleOrderEntry"];
                }
            }
        }
    }
}
